package com.ruoyi.app.mapper;

import com.ruoyi.app.domain.UserVisit;
import com.ruoyi.app.domain.UserVisitExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface UserVisitMapper {
    int countByExample(UserVisitExample example);

    int deleteByExample(UserVisitExample example);

    int deleteByPrimaryKey(Long id);

    int insert(UserVisit record);

    int insertSelective(UserVisit record);

    List<UserVisit> selectByExample(UserVisitExample example);

    UserVisit selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") UserVisit record, @Param("example") UserVisitExample example);

    int updateByExample(@Param("record") UserVisit record, @Param("example") UserVisitExample example);

    int updateByPrimaryKeySelective(UserVisit record);

    int updateByPrimaryKey(UserVisit record);

    Map<String, Object> getUserVisit(Map<String, Object> params);
}